package com.example.questionnaire.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.questionnaire.pojo.DO.Result;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ResultMapper extends BaseMapper<Result> {

    //List selectOptionName(@Param("subjectId") String subjectId);
//    List<String> selectSubjectId(@Param("result_id") String result_id);
    String selectContent(@Param("create_time") String create_time, @Param("result_id") String result_id, @Param( "subject_id") String subject_id);

}
